<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/tags/c" prefix="c"%>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>专家查询</title>
<!--must have for everypage-->
<link type="text/css"  href="http://183.224.40.27/wxcs/common/css.css" rel="stylesheet" />
<link type="text/css"  href="http://183.224.40.27/wxcs/component/xuanban/css/style.css" rel="stylesheet" />
<link type="text/css" href="<%=path%>/css/h_wap.css" rel="stylesheet" />
</head>
<body>
	<!-- <iframe width="100%" frameborder="0" scrolling="no" style="border:0px none;" src="http://wap.ynicity.cn/wxcs/common/xuanban/header.jsp"></iframe>
	 --><div class="wap">
		<!--宽度分彩板：240px和炫版320px-->
		<!--  <p style="padding:5px;border:1px dotted #DCDCDC; margin:5px 0px;"> 当前位置： <a href="" style="color:#FFDC45">首页</a> > <a href="" style="color:#FFDC45">首页</a> > 登录 </p>
-->
		<p style="background: url(http://183.224.40.27/wxcs/upload/images/main_nav_bg.gif) repeat-x scroll left top transparent; font-size:14px; font-variant:1.8; font-weight:bolder; color:#FFF;padding:3px 5px;">
			<a class="back" href="<%=request.getContextPath()%>/wap/index.jsp">首页</a>
			&gt;
			<a class="back" href="<%=path%>/ivr/doctorToIvrAction.do?method=initSearch_s1">预约挂号</a>
			&gt;
			医院列表
		</p>
  			<div class="marginAout w240">
			<form name="form1" method="post"
				action="<%=path%>/ivr/doctorToIvrAction.do?method=searchDoc">
				<table class="wapTable" border="0">
					<tbody>
					<tr>
						<td>医&nbsp;&nbsp;院：</td>
						<td>${hospital_name }<a href="<%=path%>/ivr/doctorToIvrAction.do?method=initSearch_s1">[重新选择医院]</a>
						
						<input type="hidden" name="hospital_name" value="${hospital_name }"/>
						<input type="hidden" name="hospital_id" value="${hospital_id }"/>
						</td>
					</tr>
					<tr>
						<td>科&nbsp;&nbsp;室：</td>
						<td><select name="section_id" style="width: 150px;">
								${secOptions }
						</select></td>
					</tr>
					<tr>
						<td>医&nbsp;&nbsp;生：</td>
						<td><input type="text" name="name" style="width: 150px;" value="${name }"></td>
					</tr>
					<tr>
						<td>日&nbsp;&nbsp;期：</td>
						<td>
						<select name="date" style="width: 150px;">${dateOptions }</select></td>
					</tr>
					</tbody>
				</table>
				<p
					style="font-variant: 1.8; font-weight: bolder; color: #F90; padding: 3px 5px; font-family: '微软雅黑'">温馨提示：日期格式2012-01-01</p>
			
				<div style="margin:5px auto; text-align:center;">
					<input type="submit" name="submit" value=" 查 询">
				</div>
			</form>
			<p class="line_wap">&nbsp;</p>
			<!--LIST START-->
			<div class="grayLight">
			<c:forEach items="${list }" var="item">
				<div class="grayLight">
					<p>
						<a href="<%=path%>/ivr/doctorToIvrAction.do?method=searchDocInfo&doctor_id=${item.id}&date=${date}&ds_id=${item.ds_id}">
							<b>${item.name }</b>
						</a>
					</p>
					<p>
						<a href="<%=path%>/ivr/doctorToIvrAction.do?method=searchDocInfo&doctor_id=${item.id}&date=${date}&ds_id=${item.ds_id}">
							<img width="80" height="100" border="0" src="<%=path %>/${item.path }">
						</a>
					</p>
					<p>
						所属医院： <a
							href="<%=path%>/ivr/hospital.jsp?hospital_id=${item.hospital_id}">
							<b>${item.hos_name }</b>
						</a>
					</p>
					<p>
						科&nbsp;&nbsp;室： 
						<a  href="<%=path%>/ivr/section.jsp?section_id=${item.section_id}">
							<b>${item.sec_name }</b>
						</a>
					</p>
					<p>职&nbsp;&nbsp;称：${item.pro_title_cn }</p>
					<p>
						<font color="#800000">${item.batch_cn } </font>
					</p>
						<div><a  href="<%=path%>/ivr/reserve.do?method=apply&ds_id=${item.ds_id}" style=" display:inline-block;background:url(http://183.224.40.27/wxcs/upload/images/user_nav_btn.png) no-repeat;width:100px;height:28px; line-height:28px; text-align:center; color:#000;">立刻预约</a></div>
				      <p><b>备注： </b> ${item.remark}</p>
				      <p class="line_wap">&nbsp;</p>
				    </div>
			
			</c:forEach>
			<!--LIST END-->
          <p class="line_wap">&nbsp;</p>
		  <p class="back_index_link">
				<a class="back" href="<%=path%>/ivr/searchMyReserve.jsp">我的预约</a>
		  </p>
		</div>
		<p class="line_wap">&nbsp;</p>
	</div>
	<!-- <iframe width="100%" frameborder="0" scrolling="no" style="border: 0px none;" src="http://wap.ynicity.cn/wxcs/common/xuanban/footer.jsp"> </iframe>
 -->
</body>
</html>